import request from './request'

//查询所有小车信息
export function getRobots(params) {
    return request(`mes/dispatch/getRobots`, 'get', params || {})
}

//查询小车进行中的任务
export function getAmrWayTask(params) {
    return request(`mes/dispatch/getAmrWayTask`, 'get', params || {})
}

//查询所有料箱机器人信息
export function getStateFlag(params) {
    return request(`mes/dispatch/haiq/stateFlag`, 'post', params || {})
}

//查询料箱机器人进行中的任务
export function getOngoingTask(params) {
    return request(`mes/bigScreen/ym/digital`, 'post', params || {})
}

//统计样品各状态数量
export function getCountStatus(params) {
    return request(`mes/statistic/countStatus`, 'get', params || {})
}

//获取本周样品每天实验数量
export function getSampleNumWeekly(params) {
    return request(`mes/bigScreen/getSampleNumWeekly`, 'get', params || {})
}

//堆叠机库容实时监控
export function getStatisticAnalysis(params) {
    return request(`mes/statistic/analysis`, 'get', params || {})
}

//样品类型分布及合格率
export function getWdata(params) {
    return request(`mes/bigScreen/ym/data`, 'post', params || {})
}


//温湿度(1F)
export function outputTemperature(params) {
    return request(`mes/dispatch/outputTemperature`, 'get', params || {})
}

//温湿度(2F)
export function outputTemperature2(params) {
    return request(`mes/bigScreen/temperatureTwo`, 'post', params || {})
}


//获取本周实验室使用情况
export function getSampleNumRoom(params) {
    return request(`mes/bigScreen/getSampleNumRoom`, 'get', params || {})
}

//料箱存储区&静置区 实时监控
export function getInventory(params) {
    return request(`mes/bigScreen/getInventory`, 'get', params || {})
}

//查检异常接口录像文件
export function checkErrorAction() {
    return request(`mes/video/getWarning`, 'get', {})
}
//


export function warningList() {
    return request(`mes/video/warningList`, 'get', {})
}